package com.anlu.paypal.service;

import com.anlu.paypal.utils.PayPalRESTException;

public interface PaymentV2Service {
    /**
     * 创建支付
     * @param totalMoney
     * @param currency
     * @param cancelUrl
     * @param successUrl
     * @return
     */
    String createPayment(String totalMoney, String currency, String cancelUrl, String successUrl) throws PayPalRESTException;
}
